package am.fp.events
{                                    
  import flash.events.Event;
  
  public class TextSelectionEvent extends Event
  {  
    public static const CHANGE: String = "changeSelection";
    public static const START: String = "startSelection";
    public static const FINISH: String = "finishSelection";
    public static const SET_CLIPBOARD: String = "copySelToClipboard";

    private var m_pageNum: int;
    public function get pageNum(): int { return m_pageNum; }
    
    public function TextSelectionEvent(type: String, pageNum: int = -1)
    {
      m_pageNum = pageNum;
      super(type, false, false);
    }
  }
}
